<?php
## include required files
/*******************************/
require_once '../../includefiles.php';
require_once '../../model/state.php';
require_once '../../model/city.php';
/*******************************/
## Create Objects
/*******************************/
$objState = new Model_State();
$objCity = new Model_City();


// get country id	
$state_id = $_GET['sid'];
##fecting alll the state 
$cityArr = $objCity->getAllCityDetailsByStateIdWithActiveStattus($state_id);

$smarty->assign("cityArr", $cityArr);

## Unset all the objects created which are on this page
unset($provinceObj);
unset($objCity);
	
$smarty->display(TEMPLATEDIR_ADMIN . 'city/show_city.tpl');
unset($smarty);
?>